\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager}{\section{com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager \-Class \-Reference}
\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager}\index{com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager@{com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager}}
}
\subsection*{\-Classes}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_1_1_compare}{\-Compare}
\end{DoxyCompactItemize}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_ae7395f3b7b0700967981f31647d97f29}{\-Local\-Word\-Count\-Manager} ()
\item 
void \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a7fdb486e1b5ae7581eb27fa139432d61}{add\-Document} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
int \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a4baf4121a603c1471bcc9e0856844bae}{get\-Total\-Number\-Of\-Documents} ()
\item 
int \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_acde1570f752717dfe74eb14e8ad682c7}{times\-That\-A\-Word\-Repeats\-On\-Document} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} word, \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
int \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_aad7261a1c223513a9126656550fd7d12}{number\-Of\-Documents\-Where\-Word\-Appears} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} word)
\item 
double \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_acd1c0280284cab09e9c1aca3686d9545}{inverse\-Frecuency} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} word)
\item 
double \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a46f22d947651c786498ae8f93a7ccb61}{get\-Document\-Module} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document, double inv\-Frecuency)
\item 
double \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a6e756855cacf68cbc81edd8ee6876461}{estimate\-Weight} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} word, \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
\-Collection$<$ \hyperlink{classcom_1_1utn_1_1searchengine_1_1_similitude}{\-Similitude} $>$ \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_adbea00f02f037e78ff02a412d876ea5c}{determinate\-Best\-Similitude} (\hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document)
\item 
double \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_adb499e31d2d177c13d7c30fc95d09984}{get\-Query\-Module} (\-Map$<$ \-String, \-Integer $>$ words\-Of\-Query)
\item 
\hyperlink{classcom_1_1utn_1_1searchengine_1_1_similitude}{\-Similitude} \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a9cc53ea7ff20a437016f205f5c174335}{determinate\-Similitude} (\-Map$<$ \-String, \-Integer $>$ words\-Of\-Query, \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document1, \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} document2)
\item 
\-Map$<$ \-String, \-Integer $>$ \hyperlink{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a9fc1b920828649066ae8151be2ba06dd}{filter\-Query} (\-Map$<$ \-String, \-Integer $>$ words\-Of\-Query)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-An implementation of services that are usefull to count words \-This are using local \-Structures and can dissapear once the structure is migrated to database, but the interface probably will be the same. \begin{DoxyAuthor}{\-Author}
altamirano,peker,liberal 
\end{DoxyAuthor}


\-Definition at line 22 of file \-Local\-Word\-Count\-Manager.\-java.



\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_ae7395f3b7b0700967981f31647d97f29}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!\-Local\-Word\-Count\-Manager@{\-Local\-Word\-Count\-Manager}}
\index{\-Local\-Word\-Count\-Manager@{\-Local\-Word\-Count\-Manager}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{\-Local\-Word\-Count\-Manager}]{\setlength{\rightskip}{0pt plus 5cm}{\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-Local\-Word\-Count\-Manager} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_ae7395f3b7b0700967981f31647d97f29}


\-Definition at line 29 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Vocabulary.\-load\-Vocabulary\-Words().



\subsection{\-Member \-Function \-Documentation}
\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a7fdb486e1b5ae7581eb27fa139432d61}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!add\-Document@{add\-Document}}
\index{add\-Document@{add\-Document}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{add\-Document}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-add\-Document} (
\begin{DoxyParamCaption}
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a7fdb486e1b5ae7581eb27fa139432d61}
\-Adds a document to all the structures. 
\begin{DoxyParams}{\-Parameters}
{\em document} & a \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} \\
\hline
\end{DoxyParams}


\-Definition at line 41 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Document\-Manager.\-add\-Document(), com.\-utn.\-searchengine.\-Post\-List.\-add\-Document\-Words(), com.\-utn.\-searchengine.\-Vocabulary.\-add\-Document\-Words(), com.\-utn.\-searchengine.\-Document.\-get\-Location(), and com.\-utn.\-searchengine.\-Word\-Count.\-retrieve\-Word\-Count().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_adbea00f02f037e78ff02a412d876ea5c}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!determinate\-Best\-Similitude@{determinate\-Best\-Similitude}}
\index{determinate\-Best\-Similitude@{determinate\-Best\-Similitude}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{determinate\-Best\-Similitude}]{\setlength{\rightskip}{0pt plus 5cm}\-Collection$<${\bf \-Similitude}$>$ {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Best\-Similitude} (
\begin{DoxyParamCaption}
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_adbea00f02f037e78ff02a412d876ea5c}
\-A query can have different similitudes between documents. \-Here the list of similitudes between a query and all the documents 
\begin{DoxyParams}{\-Parameters}
{\em document} & the query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-An \-Array of \hyperlink{classcom_1_1utn_1_1searchengine_1_1_similitude}{\-Similitude}. 
\end{DoxyReturn}


\-Definition at line 168 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Similitude(), com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-filter\-Query(), com.\-utn.\-searchengine.\-Post\-List.\-get\-Candidate\-Documents\-Filtered(), com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Query\-Module(), com.\-utn.\-searchengine.\-Word\-Count.\-retrieve\-Word\-Count(), and com.\-utn.\-searchengine.\-Document.\-set\-Module().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a9cc53ea7ff20a437016f205f5c174335}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!determinate\-Similitude@{determinate\-Similitude}}
\index{determinate\-Similitude@{determinate\-Similitude}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{determinate\-Similitude}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Similitude} {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Similitude} (
\begin{DoxyParamCaption}
\item[{\-Map$<$ \-String, \-Integer $>$}]{words\-Of\-Query, }
\item[{{\bf \-Document}}]{document1, }
\item[{{\bf \-Document}}]{document2}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a9cc53ea7ff20a437016f205f5c174335}
\-Determina la similitud entre dos documentos 
\begin{DoxyParams}{\-Parameters}
{\em words\-Of\-Query} & las palabra que aparecen en la query \\
\hline
{\em document1} & documento de la base de datos \\
\hline
{\em document2} & documento de la query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
el coseno(similitud entre dos documentos) 
\end{DoxyReturn}


\-Definition at line 245 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-estimate\-Weight(), com.\-utn.\-searchengine.\-Word.\-get\-Name(), and com.\-utn.\-searchengine.\-Vocabulary.\-get\-Vocabulary\-Words().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Best\-Similitude().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a6e756855cacf68cbc81edd8ee6876461}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!estimate\-Weight@{estimate\-Weight}}
\index{estimate\-Weight@{estimate\-Weight}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{estimate\-Weight}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-estimate\-Weight} (
\begin{DoxyParamCaption}
\item[{{\bf \-Word}}]{word, }
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a6e756855cacf68cbc81edd8ee6876461}
\-The \-Weight of a word is important to determinate wich words are more usefull to perform a search and wich of them not. \-Each word can have different weight on different documents. 
\begin{DoxyParams}{\-Parameters}
{\em word,\-:} & \-A \hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} \\
\hline
{\em document,\-:} & \-A \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-The weight of the word on the \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document}. 
\end{DoxyReturn}


\-Definition at line 131 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Document\-Module(), com.\-utn.\-searchengine.\-Document.\-get\-Location(), com.\-utn.\-searchengine.\-Document.\-get\-Module(), com.\-utn.\-searchengine.\-Word\-Count.\-get\-T\-F(), com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-inverse\-Frecuency(), com.\-utn.\-searchengine.\-Document\-Manager.\-set\-Document\-Module(), com.\-utn.\-searchengine.\-Document.\-set\-Module(), and com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-times\-That\-A\-Word\-Repeats\-On\-Document().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Similitude().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a9fc1b920828649066ae8151be2ba06dd}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!filter\-Query@{filter\-Query}}
\index{filter\-Query@{filter\-Query}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{filter\-Query}]{\setlength{\rightskip}{0pt plus 5cm}\-Map$<$\-String, \-Integer$>$ {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-filter\-Query} (
\begin{DoxyParamCaption}
\item[{\-Map$<$ \-String, \-Integer $>$}]{words\-Of\-Query}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a9fc1b920828649066ae8151be2ba06dd}
filtras sacas de la query las palabra que no esta en ningun documento 
\begin{DoxyParams}{\-Parameters}
{\em words\-Of\-Query} & \-Map de palabras de la query \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
devuelve el \-Map de la query 
\end{DoxyReturn}


\-Definition at line 271 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Vocabulary.\-contains\-Word().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Best\-Similitude().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a46f22d947651c786498ae8f93a7ccb61}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!get\-Document\-Module@{get\-Document\-Module}}
\index{get\-Document\-Module@{get\-Document\-Module}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{get\-Document\-Module}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Document\-Module} (
\begin{DoxyParamCaption}
\item[{{\bf \-Document}}]{document, }
\item[{double}]{inv\-Frecuency}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a46f22d947651c786498ae8f93a7ccb61}
\-Each \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} gots a module that can be considered as a position \-Vector. \-The module of a document will depend of the total amount of words, so, if new words are added to the vocabulary, all the document modules will have to be recalculated. 
\begin{DoxyParams}{\-Parameters}
{\em document,\-:} & \-A document \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-The module that represents de vector of the document. 
\end{DoxyReturn}


\-Definition at line 104 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Post\-List.\-get\-Words\-Document().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-estimate\-Weight().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_adb499e31d2d177c13d7c30fc95d09984}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!get\-Query\-Module@{get\-Query\-Module}}
\index{get\-Query\-Module@{get\-Query\-Module}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{get\-Query\-Module}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Query\-Module} (
\begin{DoxyParamCaption}
\item[{\-Map$<$ \-String, \-Integer $>$}]{words\-Of\-Query}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_adb499e31d2d177c13d7c30fc95d09984}
\-The words of a query need to be taken as a document, and the document needs to have a module. \-Because htis module is temporal and wount be saved on the post\-List, a different method was needed to calculate it. 
\begin{DoxyParams}{\-Parameters}
{\em query} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-The module of the query 
\end{DoxyReturn}


\-Definition at line 222 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Vocabulary.\-get\-Vocabulary\-Words(), and com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-inverse\-Frecuency().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-determinate\-Best\-Similitude().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a4baf4121a603c1471bcc9e0856844bae}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!get\-Total\-Number\-Of\-Documents@{get\-Total\-Number\-Of\-Documents}}
\index{get\-Total\-Number\-Of\-Documents@{get\-Total\-Number\-Of\-Documents}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{get\-Total\-Number\-Of\-Documents}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Total\-Number\-Of\-Documents} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_a4baf4121a603c1471bcc9e0856844bae}
\begin{DoxyReturn}{\-Returns}
the total of documents that exist. 
\end{DoxyReturn}


\-Definition at line 52 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Document\-Manager.\-documents\-Size().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-inverse\-Frecuency().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_acd1c0280284cab09e9c1aca3686d9545}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!inverse\-Frecuency@{inverse\-Frecuency}}
\index{inverse\-Frecuency@{inverse\-Frecuency}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{inverse\-Frecuency}]{\setlength{\rightskip}{0pt plus 5cm}double {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-inverse\-Frecuency} (
\begin{DoxyParamCaption}
\item[{{\bf \-Word}}]{word}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_acd1c0280284cab09e9c1aca3686d9545}
\-The inverse frecuency is a common operation on the \-Weigth calcule. 
\begin{DoxyParams}{\-Parameters}
{\em word,\-:} & \-A \hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-The \-Base 10 \-Logaritm of the difference between the total documents and the number of documents where the word appears. 
\end{DoxyReturn}


\-Definition at line 81 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Word.\-get\-Nr(), and com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Total\-Number\-Of\-Documents().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-estimate\-Weight(), and com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-get\-Query\-Module().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_aad7261a1c223513a9126656550fd7d12}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!number\-Of\-Documents\-Where\-Word\-Appears@{number\-Of\-Documents\-Where\-Word\-Appears}}
\index{number\-Of\-Documents\-Where\-Word\-Appears@{number\-Of\-Documents\-Where\-Word\-Appears}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{number\-Of\-Documents\-Where\-Word\-Appears}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-number\-Of\-Documents\-Where\-Word\-Appears} (
\begin{DoxyParamCaption}
\item[{{\bf \-Word}}]{word}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_aad7261a1c223513a9126656550fd7d12}

\begin{DoxyParams}{\-Parameters}
{\em word,\-:} & \-A \hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
\-The number of documents that contain the \hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} at least once 
\end{DoxyReturn}


\-Definition at line 71 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Post\-List.\-number\-Of\-Documents\-Where\-Word\-Appears().

\hypertarget{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_acde1570f752717dfe74eb14e8ad682c7}{\index{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}!times\-That\-A\-Word\-Repeats\-On\-Document@{times\-That\-A\-Word\-Repeats\-On\-Document}}
\index{times\-That\-A\-Word\-Repeats\-On\-Document@{times\-That\-A\-Word\-Repeats\-On\-Document}!com::utn::searchengine::LocalWordCountManager@{com\-::utn\-::searchengine\-::\-Local\-Word\-Count\-Manager}}
\subsubsection[{times\-That\-A\-Word\-Repeats\-On\-Document}]{\setlength{\rightskip}{0pt plus 5cm}int {\bf com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-times\-That\-A\-Word\-Repeats\-On\-Document} (
\begin{DoxyParamCaption}
\item[{{\bf \-Word}}]{word, }
\item[{{\bf \-Document}}]{document}
\end{DoxyParamCaption}
)}}\label{classcom_1_1utn_1_1searchengine_1_1_local_word_count_manager_acde1570f752717dfe74eb14e8ad682c7}

\begin{DoxyParams}{\-Parameters}
{\em word,\-:} & \-A \hyperlink{classcom_1_1utn_1_1searchengine_1_1_word}{\-Word} \\
\hline
{\em document,\-:} & \-A \hyperlink{classcom_1_1utn_1_1searchengine_1_1_document}{\-Document} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
the times that the document contains the word. 
\end{DoxyReturn}


\-Definition at line 62 of file \-Local\-Word\-Count\-Manager.\-java.



\-References com.\-utn.\-searchengine.\-Post\-List.\-total\-Times\-That\-Word\-Repeats\-On\-Document().



\-Referenced by com.\-utn.\-searchengine.\-Local\-Word\-Count\-Manager.\-estimate\-Weight().



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
src/main/java/com/utn/searchengine/\hyperlink{_local_word_count_manager_8java}{\-Local\-Word\-Count\-Manager.\-java}\end{DoxyCompactItemize}
